package com.cheng.example.atguigu.design_pattern.facade;

/*
 * @author 程帅
 * @createTime: 2020/10/21 22:04
 * @Created: with IntelliJ IDEA.
 */
//投影仪
public class Projector {

    private static Projector instance = new Projector();

    public static Projector getInstance() {
        return instance;
    }

    public void on() {
        System.out.println("Projector is on");
    }

    public void off() {
        System.out.println("Projector is off");
    }

    //聚焦
    public void focus() {
        System.out.println("Projector is pop");
    }

}
